<?php ini_map()?>
	<div id="content">
		<div class="post-list">
<?php
$posts = query_posts($query_string.'&showposts='.get('ini_media_num'));
while (have_posts()): the_post();
$year = get_the_time('Y'); $month = get_the_time('m'); $day = get_the_time('d');
?>
			<article>
				<time><a href="<?php echo get_day_link($year,$month,$day)?>"><?php the_time('F')?><br><?php the_time('d日')?></a></time>
				<small><a href="<?php echo get_author_posts_url( $authordata->ID )?>"><?php the_author('nickname')?></a> / <?php the_category(', ');?> / <?php echo get_post_views($post->ID)."℃";?></small>
				<h2><?php ini_title(0,0,0)?></h2>
<?php
$custom_fields = get_post_custom_keys($post_id);
$music = get_post_meta( $post->ID, 'music', true );
$video = get_post_meta( $post->ID, 'video', true );
if( in_array('music',$custom_fields) ) echo do_shortcode( '[music]'.$music.'[/music]' );
if( in_array('video',$custom_fields) ) echo do_shortcode( '[video]'.$video.'[/video]' );
?>
			</article>
<?php endwhile;?>
		</div>
<?php
if( get('ini_media_num') ) $posts_per_page = get('ini_media_num');
if( get('ini_ad6') && get('ini_mad') ) echo "<div class=\"ad6\">".get('ini_ad6_code')."</div>\n";
?>
	</div>
	<div id="pagination"><?php next_posts_link(__('浏览更多')); ?></div>